package com.mdms.utils;

import java.util.Properties;

public class MDmsLoginContext {

	private static final ThreadLocal<Properties> CONTEXT_HOLDER = new InheritableThreadLocal<Properties>();
	 
	public static final String USER_ID = "USER_ID";
	public static final String SSN_IP = "USER_IP";
	public static final String SSN_ID = "USER_SESSION_ID";
	
	
	public static Properties getContext(){
		return CONTEXT_HOLDER.get();
	}
	
	
	public static void setContext(Properties props){
		CONTEXT_HOLDER.set(props);
	}
	
}
